import ajax from '../common/ajax'

const temp = {
  getData (params) {
    return ajax.get('/lmp/userObserve/list', { params })
  },
  collectListTree (params) {
    // return ajax.get('/lmp/collect/listTree', { params })
    return ajax.post('/zclx/getTypeTree', params)
  },
  typeNodeMove (params) {
    return ajax.post('/zclx/typeNodeMove', params)
  },
  visionNodeMove (params) {
    return ajax.post('/zclx/visionNodeMove', params)
  },
  saveOrUpdateType (params) {
    return ajax.post('/zclx/saveOrUpdateType', params)
  },
  saveOrUpdateVision (params) {
    return ajax.post('/zclx/saveOrUpdateVision', params)
  },
  getClassTreeByVisionId (params) {
    return ajax.post('/zclx/getClassTreeByVisionId', params)
  },
  saveOrUpdateClass (params) {
    return ajax.post('/zclx/saveOrUpdateClass', params)
  },
  classNodeMove (params) {
    return ajax.post('/zclx/classNodeMove', params)
  },
  deClassByClassId (params) {
    return ajax.post('/zclx/deClassByClassId', params)
  },
  delVisionByVisionId (params) {
    return ajax.post('/zclx/delVisionByVisionId', params)
  },
  delTypeByTypeId (params) {
    return ajax.post('/zclx/delTypeByTypeId', params)
  },
  getWfConfList (params) {
    return ajax.post('/workflow/getWfConfList', params)
  },
  getUserList (params) {
    return ajax.post('/workflow/getUserList', params)
  },
  getDeptList (params) {
    return ajax.post('/workflow/getDeptList', params)
  }
}

export default temp
